package com.example.ken.myapplication8;

import android.widget.Button;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.TextView;

public class MyData {
    String image_one;
    CheckBox check_one;
    String text_name;
    String text_money;
    Button btn_jia;
    Button btn_jian;
    int text_num;
//    Button shanchu;
    boolean flag;

    public MyData(String image_one, CheckBox check_one, String text_name, String text_money, Button btn_jia, Button btn_jian, int text_num, boolean flag) {
        this.image_one = image_one;
        this.check_one = check_one;
        this.text_name = text_name;
        this.text_money = text_money;
        this.btn_jia = btn_jia;
        this.btn_jian = btn_jian;
        this.text_num = text_num;
        this.flag = flag;
    }

    public MyData() {
    }

    public String getImage_one() {
        return image_one;
    }

    public void setImage_one(String image_one) {
        this.image_one = image_one;
    }

    public CheckBox getCheck_one() {
        return check_one;
    }

    public void setCheck_one(CheckBox check_one) {
        this.check_one = check_one;
    }

    public String getText_name() {
        return text_name;
    }

    public void setText_name(String text_name) {
        this.text_name = text_name;
    }

    public String getText_money() {
        return text_money;
    }

    public void setText_money(String text_money) {
        this.text_money = text_money;
    }

    public Button getBtn_jia() {
        return btn_jia;
    }

    public void setBtn_jia(Button btn_jia) {
        this.btn_jia = btn_jia;
    }

    public Button getBtn_jian() {
        return btn_jian;
    }

    public void setBtn_jian(Button btn_jian) {
        this.btn_jian = btn_jian;
    }

    public int getText_num() {
        return text_num;
    }

    public void setText_num(int text_num) {
        this.text_num = text_num;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "MyData{" +
                "image_one='" + image_one + '\'' +
                ", check_one=" + check_one +
                ", text_name='" + text_name + '\'' +
                ", text_money='" + text_money + '\'' +
                ", btn_jia=" + btn_jia +
                ", btn_jian=" + btn_jian +
                ", text_num=" + text_num +
                ", flag=" + flag +
                '}';
    }
}
